package com.kingzoder.food.model.dto.ingredient;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Schema(name = "修改食材类")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class EditIngredientDTO {
    @SchemaProperty(name = "id")
    private Long id;
    @SchemaProperty(name = "食材名称")
    private String name;
    @SchemaProperty(name = "食材用量")
    private String amount;
    @SchemaProperty(name = "计量单位（如：克、勺、个）")
    private String unit;
}
